package states;

import operand.Operand;

public class SecondOperandAvailable<T>  implements OperationState<T>{

	private final Operand<T> secondOperand;
	
	public Operand<T> getSecondOperand() {
		return secondOperand;
	}
	
	public SecondOperandAvailable(final Operand<T> operand) {
		this.secondOperand = operand;
	}
	
	@Override
	public void accept(final OperationStateVisitor<T> visitor) {
		visitor.visit(this);
	}
}
